package lab02.test11;

/**
 * Created by JAVA on 2017/10/25.
 */
public class Test11 {
    public static void main(String[] args) {
        System.out.println("矩形：");
        Printx re=new Rectangle(4,5);
        re.printMyWay();

        System.out.println("\n"+"正方形：");
        Square sq=new Square();
        sq.grow=4;
        sq.wide=6;
        sq.printMyWay();
    }
}
